export interface BasicInfo {
  supplierNum: number
  orderInNum: number
  orderInAmount: number
  customerNum: number
  orderOutNum: number
  orderOutYoyNum: number
  orderOutAmount: number
  orderOutYoyAmount: number
  lowInventoryNum: number
  orderOutOverdueNum: number
  outstandingReceivablesNum: number
}

interface Data {
  time: string
  value: string
}

export interface ElectricityInfo {
  electricityDay: number
  power: number
  electricityYear: number
  electricityMonth: Data[]
  electricityMonthYoy: Data[]
  /** 电压谐波率 */
  vub: Data[]
  /** 电流谐波率 */
  cub: Data[]
  electricityF: number
  electricityP: number
  electricityG: number
}

export interface EquipmentVo {
  name: string
  number: string
  value: number | null
  status: 0 | 1
}

export interface EquipmentTypeVo {
  key: string
  value: string
  list: EquipmentVo[]
}

export interface EquipmentInfoV2Vo {
  equipmentTotal: number
  equipmentRunNum: number
  typeList: EquipmentTypeVo[]
}
